package oop.ex2.enums;

import java.util.regex.Pattern;

public enum CommentEnum {
    SINGLE_LINE("(/\\*(?:.|[\n\r])*?\\*/)|(//.*)"),
    MULTI_LINE_START("\\/\\*+.*"),
    MULTI_LINE_END(".*\\*\\/");
    
    private Pattern enumPattern;
    private CommentEnum(String regex) {
        enumPattern = Pattern.compile(regex);
    }
    
    public Pattern getEnumPattern() {
        return enumPattern;
    }
}
